f07adf
f07adf
© Numerical Algorithms Group, 2002.
Purpose
F07ADF LU factorization of real m by n matrix (SGETRF/DGETRF)
Synopsis
[a,ipiv,info] = f07adf(a)
Description
This routine forms the LU factorization of a real m by n matrix A
as A=PLU, where P is a permutation matrix, L is lower triangular
with unit diagonal elements (lower trapezoidal if m>n) and U is
upper triangular (upper trapezoidal if m<n). Usually A is square
(m=n), and both L and U are triangular. The routine uses partial
pivoting, with row interchanges.
Parameters
f07adf
Required Input Arguments:
a (:,:) real
Output Arguments:
a (:,:) real
ipiv (:) integer
info integer